const fs = require('fs')
fs.watch("./", {
    recursive: true //是否循环监视
}, (eventType, fileName) => {
    console.log(eventType, fileName);
})
